SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e799cc4f0bc4ed48b0523e217ef17371cc3735d476325d3c96498380ad8fcad' 
  AND token = '8RHZENNRne1pHyuju4j5PCcn6b37Oy7feFHOucEt94A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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