SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b25d845125ceb9dc295de3271603f5401b6b2d052bdd77f92ed5d35284e95ac9' 
  AND token = '9Y9pnCaKdWKsFHyXJ/a9kJ5tZImkZ6Pa2Hpy1tZ3ZLI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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