SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '507e23156e5dd66c5ef9ec80bae157c21039730912c6d233dcc99e4dab499444' 
  AND token = 'ZQpBN+nK988s1hZBcIlHdrsQWfOxmK8BTFoqjhQGsd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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