SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02e33331fbf2b628702db4b90ad80a30a8085474f0911fab37e48c5d45201b29' 
  AND token = '94nZp2dZiuO+o0pGPpEchvbS1LPNRB53trFEzqEJ31E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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