SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '248d29077208a199530d0288cda3660a7f5c85b650d3a1d101fc7126121d715c' 
  AND token = 'l0iSHlILtVIbLLWXFizmXnkvIADwNkJPNreLeZQr9oA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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