SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae949a9beb4e8317fd2ab7d856fd578c037d7de28b6ad68c6467e5986e84662a' 
  AND token = 'F1ewIvAA/zjPmXrdYbPL5KjXtxxE8wWfLJrbVTFrwe0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}