SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2511697d1afe27f7fc9bf466c416bc1625d5417b19cf98d1eb7c8a2491ca057' 
  AND token = '5GhKbPdFrLVx6eai0BgNuU/Z88A6c4Kj093qzfRDBoc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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