SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b3022563321a78de39c43325c2db802e92e55c7ea7a294d0c29f46af381d589' 
  AND token = 'G1S/YbhSkM5RxQXYl6cfmZi1olehgLRWIRBhP+DzKaY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00098

JSON explain

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