SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5d52bd5bdd3819e11407c6b048a30c68efb9b994820116d55420c1dda4bcfd5' 
  AND token = 'GUHZUi2F1oLmgODIGUMgqGtuRqZeA83v715vSg5x6no=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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