SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2795e6cef1d8a3c0ed49bbae89dc9e887a2eeac68f140c7426b0bcff6259057a' 
  AND token = 'qfDhzwbR/0NVwX5Ft6P/TuWjENbGA0L0m57uB59cm5U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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