SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c1d975eb3f32c5b26a504a36717aaa77f62665b284d0578bc9157584464565c' 
  AND token = 'jG535rZQVbRCwcd9cbG1BQZSBuU78E1EQS5tu1xxS20=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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