SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1a87718761c70bf418c3d2d8146c6dbeafd09d5c1af49a02633d31948d4d44e' 
  AND token = 'PdyQ9Xl5QKQnHexX8v6vTIQNH3lEbLZ46OTnTuAOezA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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