SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24d86207d18591e258e358906e50d6f52a195d26633b204265cbb4e264e5913a' 
  AND token = 'syRsxEiCFvVh8xsuQSnWiPqklXil9NdoUVDQNLVZiXE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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