SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ef79b0ae821a1dfebd098e24d018758e84ff0d267810e4726948abe4cfba766' 
  AND token = 'qGPjsJV2KriQZgGtU/r3gKdZxG/+RmYGhrPIWru5F64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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