SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1224ba980aee8753a3e5135ec919639df552cdf5e04933668ab162f7feffe107' 
  AND token = 'rH/UmUW+QJK2M8ZQK98OEePXczrPd/EF36/4lxvqWVE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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