SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0799a541f8dee4aae97bdcb86f02e07bb9051bf6fa1aef7725e0b1dfdfeaa8fb' 
  AND token = 'xJ6tSy0lCX49mbcb/96FeWgErEr1vi9ffVdQ31RNy68=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}