SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bb8a7e90bac919a430f75d92f1f882e2444594fa7651a925cca44c8d260ca61d' 
  AND token = 'zTIBDcenSsJFqX+Wwq/iPlRiY9/vK4vD/1ugchgBeIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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