SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b6ea26ddfd3a605503dade83efa6d4a266a487474394512e756001571cdd37a' 
  AND token = 'UrhyppjJ6mPZgYlKewnp1CvmykCntQaTSQT/q1Y4u5s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00170

JSON explain

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