SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87f1db384a5105956d0620f5340e8ea092fc9ed787aac2120f7fd57811d252a0' 
  AND token = 'BnHPplTkVgPO13p/nqr3XKEfYazwEJbF5ix3w+BNLk4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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