SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3525f58c4f187b11f10d28cfb347474f19993979bc87a528a55b39adee66a18a' 
  AND token = '5PS895VJVL2uT4+lKk/6UjZLO3xCFmUX/NS6JYNRN2I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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