SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f55480cf2423539d8f2413a6a5cf20f5fa0254f3e6c484195affd184215b859' 
  AND token = 'mtcAvEI7qd/ly328qfkirjz0DTJiR8VXu5qx5u3dQSE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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