SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '83243e0ac29daf8417c9725d76c9f4b4170e0d6e120df25c027fa9db014b657e' 
  AND token = 'soRXQ4H5hCLUL9GpwMkSkZ0Ig2uEG3o3IzP+rCkKfo8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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