SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cc2af1216885aec575633e0139fd62b9e0dedb320940ed151b8751c58f78f9b' 
  AND token = 'cBH8Wgl+T5hyKKDfYwQ/4HTWnLhlipy8Ek1//7xHviU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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