SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9e37ed8ef74d47f6b9f63ee344655ea165c348d226e07edb2d76d7dd22af03f4' 
  AND token = 'IfvWtlbwrjbPcsKdyHHkVhEF3ZGLLSmP/+0gyS+Y8Js=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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