SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5baaf97b7a0cb282af8546c5f853aa898be61762fb9d62531b6f6c0f1c9ce5c' 
  AND token = 'Z1KNdQeXfZ8n5GIggidb1QteapX+O0jo9uypo1BJDEk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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