SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '796d694cc0d3e65d61b3fc8acc330a22f664781d69fe98ee2868c1c437fdabf4' 
  AND token = 'QGtyEh/nxy2QExXCBZmJao78BD8c1wFmKDs9T0U0KiE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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