SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0406fb9123488cb3ad91348e30d010fc16ca6e821901e16f5d632d2656ba4946' 
  AND token = 'ePYNAnFL8zZcoo4ZjuWTr/Wk98RKCUw5iqnKH8hlhh4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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