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

Query time 0.00030

JSON explain

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