SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '19bc5711c6d8763a42161e009d2c46f5aaf8c03f1b8d706bfac2db1d138b3fdb' 
  AND token = '0VB6dnh5bNFSa1P5yxPK29tmmcZC1hAk1fzD998Ehtk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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