SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3fd78263721d239179aa50678734eef44485c74ae55bdb181f237da6eaafa8c0' 
  AND token = '6B+tB7K4vu0HLMCRndgcX02oVGGaR+9wT345WEE75m4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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