SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a344fa045c078b8a7a45bcb7b30c33d2b707d5d88fadbf7b38ae180237269e27' 
  AND token = 'lwN/pgxqgMOh8O7K90ZMPiClGusfncynbLOocshsuBc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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