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

Query time 0.00026

JSON explain

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