SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5305f1117e3d78dbbb637a6071fdfa8fdf09496a7d05801665f34f7175e81404' 
  AND token = 'VdJQeaD5DAqchq4ouXD7zFPmYAOoy7xE5mz/OTu/r5U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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